package com.itheima.day04;

import java.util.Date;

public class Demo1 {
    public static void main(String[] args) {
        Date date=new Date();
        System.out.println(date);

        long time = date.getTime();
        time+=(60*60+121)*1000;
        date.setTime(time);
        System.out.println(date);
    }
}
